CentOS 6
Sponsored Link

Func - Install Func
2011/07/15
 
Install Func (Fedora Unified Network Controller).
This example shows to configure on the environment like follows
     (1) certmaster.srv.world    [10.0.0.50]    certmaster ( Server )
     (2) minion01.srv.world      [10.0.0.51]    minion ( Client )
[1] Install func to both Certmaster and Minion.
# install from EPEL

[root@certmaster ~]#
yum --enablerepo=epel -y install func
[2] Start certmaster on Certmaster Server.
[root@certmaster ~]#
/etc/rc.d/init.d/certmaster start

Starting certmaster daemon: [ OK ]

[root@certmaster ~]#
chkconfig certmaster on
[3] Start funcd on Minion Server.
[root@minion01 ~]#
vi /etc/certmaster/minion.conf
# configuration for minions
[main]
# Certmaster's hostname or IP Address

certmaster =
certmaster.srv.world

certmaster_port = 51235
log_level = DEBUG
cert_dir = /etc/pki/certmaster
[root@minion01 ~]#
/etc/rc.d/init.d/funcd start

Starting func daemon: [ OK ]

[root@minion01 ~]#
chkconfig funcd on
[4] Sign to certificates on Certmaster Server.
# list the host that requests certificates

[root@certmaster ~]#
certmaster-ca --list

minion01
[root@certmaster ~]#
certmaster-ca --sign minion01

/var/lib/certmaster/certmaster/csrs/minion01.csr signed - cert located at /var/lib/certmaster/certmaster/certs/minion01.cert
# make sure it works

[root@certmaster ~]#
func "*" list_minions

minion01
 
Tweet